וַיֹּ֨אמֶר יְהוָ֜ה אֶל־שְׁמוּאֵ֗ל אַל־תַּבֵּ֧ט אֶל־מַרְאֵ֛הוּ וְאֶל־גְּבֹ֥הַּ קוֹמָת֖וֹ כִּ֣י מְאַסְתִּ֑יהוּ כִּ֣י ׀ לֹ֗א אֲשֶׁ֤ר יִרְאֶה֙ הָאָדָ֔ם כִּ֤י הָֽאָדָם֙ יִרְאֶ֣ה לַעֵינַ֔יִם וַיהוָ֖ה יִרְאֶ֥ה לַלֵּבָֽב׃
Ngunit sinabi ng Walang-Hanggan kay Samuel: “Huwag mong tingnan ang kanyang anyo o ang taas ng kanyang tindig, sapagkat itinakwil Ko siya. Sapagkat hindi gaya ng nakikita ng tao: ang tao ay tumitingin sa nakikita ng mata, ngunit ang Walang-Hanggan ay tumitingin sa puso.”
Mishneh Torah, Foundations of the Torah
A prophet may possess the spirit of prophecy for his own sake alone, to broaden his mind and increase his knowledge so that he may know that which he did not know of certain great matters, or he may be sent to a nation of among the nations of the world, or to the inhabitants of a city, or to a government to establish them righteously, to instruct them what to do, or to restrain them from the evil deeds on their hands; and when he is so sent he is given a token or miracle so that the people may know that he is in truth the messenger of God. Nevertheless, not every one who delivers a token or performs a miracle should be believed to be a prophet; for only such man whom we knew heretofore to be worthy of prophecy, both by his wisdom and by his conduct, in consequence whereof he was above all his associates, and walked in the requisite ways of prophecy, in its holiness and self-denial, if, thereafter, he came and delivered a token and performed a miracle and said that he is a messenger of God, it is a mandatory commandment to hearken unto him, for it is said: "Unto him ye shall hearken" (Deut. 18.15). And yet, it is even possible that one such will deliver a token and perform a miracle and not be a prophet; as for the token, it might contain some doubtful matter; notwithstanding this, it is mandatory to hearken unto him; for, seeing that he is a great man, wise and worthy of being a prophet, he must be sustained on the presumption that he is a prophet. In this we were commanded to do as we were commanded to base a legal decision upon the testimony of two proper witnesses, even though they may have testified falsely, yet, because we consider them to be proper, their testimony must stand upon their fitness, and concerning this and like matters it is said: "The secret things belong unto the Lord our God; but the things that are revealed belong unto us and to our children" (Deut. 29.28); and it is said: "For man looketh on the outward appearance, but the Lord looketh on the heart" (I Sam. 16.7).
Sefer Chasidim
Do not judge your neighbor with an inclination to his disfavor,1Shabbath 127b. “For man looketh on the outward appearance but the Lord looketh on the heart” (I Sam. 16:7), and you do not know what is in his heart or mind. Be ready to judge all men in the scale of merit.2Aboth 1:6. Guard your eyes from seeing evil and do righteousness according to your strength, whether that be more or less let one direct his heart toward heaven. Submit to the Lord and consider in your heart that each man is the watchman of his servants, and all the more so that the Lord of the Universe will guard thee.3J. T. Berakoth 9:1.
Sefer HaChinukh
And there are many details of the distancings that they warned about this matter, but the general principle of the matter is that a man should not do anything in the world that brings him to improper thoughts about women — not in action, not in speech and not with any hint to bring close the weak mind of a woman to his mind — except for only his wife. And like this matter did the prophet rebuke the men of his generation, in his saying to them (Jeremiah 5:8), “each one is neighing at his neighbor’s wife” — meaning to say, according to their way that they appear as if they do not intend this, they hint to the wives of their neighbors hints of adultery, and raise their voices in such a way that these women should listen to them and their impulse be aroused towards love of the adulterer. And it is not from the possible to say [all of] the details of the matters that a man will know to do to bring the mind of a woman, which is weak, close to him. And therefore they, may their memory be blessed, [only] mentioned a few of them. But with the rest, each and every one should be careful to guard himself according to what he finds with his person, “as the Lord sees to the heart.”